five points:
CPU and chipset cooperation:
Currently, desktop processors are mainly divided into two main factions: AMD's socketa and Intel's socket478, which need to correspond to different chipset, therefore, not any motherboard can use AMD or Intel CPU at will. In addition, users preparing to use a low-end CPU may also encounter a processor with the socket370 structure, such as tulatin celon. At this time, the chipset used is different. To help you understand the relationship between th
mainstream Processor
Socket 370 i815ept, sis635, via694tCeleronii, celeon III, Pentium III
Socket 462 (socket)Kt400/400a, kt600/600a, nforce2, SIS 746/748 duron, athlonxp, and Yunlong
Socket 478I845/865/875 series, SIS 648, via p4x400/400a pentium4, celeron4
The key to determining which processor the chipset supports is the beiqiao chip, which is usually located in the center of the motherboard to the right. You can see the full picture by removing t
suffers a severe performance penalty when exiting the loop because it detects a
Possible memory order violation. The PAUSE instruction provides a hint to the processor that
The code sequence is a spin-wait loop. The processor uses this hint to bypass the memory order
Violation in most situations, which greatly improves processor. For this reason, it
is recommended that a PAUSE instruction being placed in all spin-wait loops.
Enhance the performance of the spin-wait loops (spin lock loop wait).
system hardware, we should try our best to optimize it during installation.
CODE: # groupadd squid # useradd squid add suqid user and user group
CODE: # export CFLAGES = '-O2-mcpu = pentium4-march = pentium4-mmmx-msse-msse2'
You can select the corresponding parameter GCC-3.1 based on your CPU above can ??? PU optimization:
CODE:Pentium2: -O2 -mcpu=i686 -march=i686 -mmmx Pentium3: -O2 -mcpu=pentiu
The critical section pattern refers to the mode in which only one thread can be executed in a shared range.It is the basis of all other multi-threaded design patterns, so I will first introduce it.Focus on the scope. This mode is called the critical section mode. If you place the eye point on the thread of execution, this mode is calledSingle-thread execution mode.
First, let's play a cave drill game. axman, Sager, and pentium4. three of them are at t
first access to the proxy request data cache is not, the proxy crawl data will be saved in the cache, so that the speed of access slows down, but the second visitors and later visitors need the information, proxy do not want to remote server request, The data in the cache is sent directly to the subsequent requester, which reduces the traffic to the remote server, and the transmission is faster because the proxy is local.
Second, the use of squid in the construction of ProxyServer
In this art
processor executes the current instruction, which always causes an explicit bus lock to appear (2) in Pentium4, Inter Xeon, and P6 series processors, the lock operation is handled by either a cache lock or a bus lock. If memory access is cached and affects only a single cache row, the cache lock is invoked in the operation, and the actual area in the system bus and system memory is not locked. At the same time, other
Groupadd mysql
Create a user group named mysql
Useradd-g mysql
Create a user named mysql under the mysql user group
Gunzip | mysql-VERSION.tar.gz | tar-xvf-
Decompress the downloaded .gz File
Cd mysql-VERSION
Enter the decompressed directory
CFLAGS = "-O3-mcpu = pentium4" CXX = gcc CXXFLAGS = "-O3-march = pentium4-felide-constructors-fno-exceptions-fno-rtti ". /configure -- prefix =/home/mysql/-- without-de
Cdhomemysql enters the installation directory binmysql_install_db -- usermysql creates the data table chown-Rroot as a mysql user.
Cd/home/mysql enter the installation directory bin/mysql_install_db -- user = mysql CREATE the data table chown-R root as the mysql user.
Download Page:Go to the bottom of the page and find Source downloads. This is the Source code version. Download 1st tarballs.
Groupadd mysqlCreate a user group named mysqlUseradd-g mysqlCreate a user named mysql under the mysq
:
# Groupadd squid# Useradd squid
Add suqid users and user groups
Code:
# Export cflages = '-O2-mcpu = pentium4-March = pentium4-mmmx-MSSE-msse2'
You can select parameters based on your CPU.GCC-3.1 and above can be optimized for CPU optimization:
Code:
Pentium2:-O2-mcpu = i686-March = i686-mmmxPentium3:-O2-mcpu = pentium3-March = pentium3-mmmx-MSSEP
On the installation, optimization, and security configuration download page of MySQL5.1.x in CentOS Linux, refer
Installation, optimization, and security configuration of MySQL 5.1.x in CentOS Linux
Download Page: http://dev.mysql.com/downloads/mysql/5.1.html#downloads
Groupadd mysqlCreate a user group named mysqlUseradd-g mysqlCreate a user named mysql under the mysql User Group
Gunzip | mysql-VERSION.tar.gz | tar-xvf-
Decompress the downloaded .gz file
Cd mysql-VERSION
En
/squid/bin/squid-ncd1
This command officially starts squid. If everything is normal, you will see a line of output
Ready to serve requests.
If you want to run squid in the background and use it as an genie process, run the following command:
%/Usr/local/squid/bin/squid
Check whether squid runs the command:
% Squid-K check
The output will tell you the current status of squid.
Squid installation configuration squid
Operation System : RedHat 9.0, kernel: 2.4.20-31.9, other system s
Installation, optimization, and security configuration of MySQL 5.1.x in CentOS Linux
Download Page: http://dev.mysql.com/downloads/mysql/5.1.html#downloads
Groupadd mysqlCreate a user group named mysqlUseradd-g mysqlCreate a user named mysql under the mysql user group
Gunzip | mysql-VERSION.tar.gz | tar-xvf-
Decompress the downloaded .gz File
Cd mysql-VERSION
Enter the decompressed directory
CFLAGS = "-O3-mcpu = pentium4" CXX =
When the '-O' option is not used, the compiler aims to reduce the compilation overhead and enable the compilation result to be debugged. The statement is independent: if the program is aborted using a breakpoint between two statements
Download Page: http://dev.mysql.com/downloads/mysql/5.0.html#downloadsGo to the bottom of the page and find Source downloads. this is the Source code version. download 1st tarballs.
Groupadd mysqlCreate a user group named mysqlUseradd-g mysqlCreate a user named mys
memory technology, the main dual-channel memory platform Intel is the Intel 865, 875 series, and the Axx aspect is the NVIDIANforce2 series.
The Dual-channel memory technology is a low-cost, High-performance solution that solves the problem of CPU bus bandwidth and memory bandwidth. Now that the CPU's FSB (front bus frequency) is getting higher, Intel PENTIUM4 has a much higher demand for memory bandwidth than AXXATHLONXP. The Intel
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.